package com.jymj.entity;

import java.math.BigDecimal;
import java.math.RoundingMode;

/**
 * Created by ${lc} on 2020/8/31.
 */
public class LhbwEntity {
    private Integer gid;
    private String type;//类型
    private String layer;//类型
    private String sz;//树种
    private String jsnr;//建设内容
    private String xmmc;//项目名称
    private BigDecimal xmgm;//项目规模㎡
    private String jfbz;
    private String xzqmc;
    private String year;//年份
    private String code;
    private String geom;
    private BigDecimal zj;//总价
    private BigDecimal sqzbt;//市区总补贴
    private BigDecimal czzj;//村镇资金
    private String sqbtbz;//市区补贴标准
    private Integer px;

    public Integer getPx() {
        return px;
    }

    public void setPx(Integer px) {
        this.px = px;
    }

    public String getSqbtbz() {
        return sqbtbz;
    }

    public void setSqbtbz(String sqbtbz) {
        this.sqbtbz = sqbtbz;
    }

    public BigDecimal getSqzbt() {
        return sqzbt == null ? new BigDecimal(0) : sqzbt.setScale(1, RoundingMode.HALF_UP);
    }

    public void setSqzbt(BigDecimal sqzbt) {
        this.sqzbt = sqzbt;
    }

    public BigDecimal getCzzj() {
        return czzj == null ? new BigDecimal(0) : czzj.setScale(1, RoundingMode.HALF_UP);
    }

    public void setCzzj(BigDecimal czzj) {
        this.czzj = czzj;
    }

    public BigDecimal getZj() {
        return zj == null ? new BigDecimal(0) : zj.setScale(1, RoundingMode.HALF_UP);
    }

    public void setZj(BigDecimal zj) {
        this.zj = zj;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLayer() {
        return layer;
    }

    public void setLayer(String layer) {
        this.layer = layer;
    }

    public String getSz() {
        return sz;
    }

    public void setSz(String sz) {
        this.sz = sz;
    }

    public String getJsnr() {
        return jsnr;
    }

    public void setJsnr(String jsnr) {
        this.jsnr = jsnr;
    }

    public String getXmmc() {
        return xmmc;
    }

    public void setXmmc(String xmmc) {
        this.xmmc = xmmc;
    }

    public BigDecimal getXmgm() {
        return xmgm;
    }

    public void setXmgm(BigDecimal xmgm) {
        this.xmgm = xmgm;
    }

    public String getJfbz() {
        return jfbz;
    }

    public void setJfbz(String jfbz) {
        this.jfbz = jfbz;
    }

    public String getXzqmc() {
        return xzqmc;
    }

    public void setXzqmc(String xzqmc) {
        this.xzqmc = xzqmc;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getGeom() {
        return geom;
    }

    public void setGeom(String geom) {
        this.geom = geom;
    }
}
